<?php
$config =  array (
  'product_name' => '秉信小说',
  'site_name' => '秉信小说管理系统',
  'site_keyword' => '小说、秉信',
  'site_description' => '小说',
  'site_slogan' => '小说',
  'idc_num' => '皖ICP备18002221号-1',
  'nc_num' => '皖网文〔2019〕4695-205号',
  'nc_link' => '',
  'netc_num' => '皖ICP备18002221号-1',
  'site_open' => '1',
  'ad_open' => '1',
  'company_name' => '秉信科技',
  'company_qq' => '840855344',
  'company_email' => '840855344',
  'company_weixin' => 'weixin',
  'company_phone' => '18156825246',
);

$env = 'pro';
if (!empty($env))
{
    $path = \think\facade\App::getRootPath() .'config/'.$env.'/site.php';

    if (file_exists($path)) {
        $env_config = require_once $path;
        $config2 = array_merge($config, $env_config);
        $config2['upload_config'] = array_merge($config['upload_config'], $env_config['upload_config']);
        $config = $config2;
    }
}

return $config;